package com.wnxy.sddfp.trade.service;

import com.wnxy.sddfp.common.model.dto.bid.AgencyBidDTO;
import com.wnxy.sddfp.common.model.vo.bid.AgencyBidVo;
import com.wnxy.sddfp.trade.entity.AgencyBid;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 机构投标记录 服务类
 * </p>
 *
 * @author Jet
 * @since 2023-05-11
 */
public interface IAgencyBidService extends IService<AgencyBid> {

    /**
     * 机构投资申购记录
     * @param agencyBidDTO
     * @return
     */
    AgencyBidVo addAgencyBid(AgencyBidDTO agencyBidDTO);

    /**
     * 审核借款项目放款
     */
    String borrowRecordStatus(Long borrowRecordId, String status, String commission);
}
